/* uart.h */

#ifndef USART_H
#define USART_H

void usart_init(unsigned int ubrr); 
unsigned char usart_rx(void);
void usart_tx(unsigned char data);
void usart_tx_byte(unsigned char data);
void usart_tx_sbyte(char n);
void usart_tx_string(const char* s);
void usart_tx_hex(unsigned char c);
void usart_tx_hexdump(unsigned char* data, unsigned short length);

#endif /* USART_H */

